F1:: {
    MouseGetPos &MouseX, &MouseY
    Color := PixelGetColor(MouseX, MouseY)
    ToolTip MouseX "=" MouseY "=" Color
}

XButton2::
    {
        while(GetKeyState("XButton2", "P")) {
            c1 :=  PixelGetColor(1071, 854)
            if (c1 == "0xA34B0A")
            {
                SendInput "{r}"
                Sleep 400
                SendInput "{t}"
                Sleep 100
            }
            c2 :=  PixelGetColor(1074, 858)
            c3 :=  PixelGetColor(1304, 839)
            if (c2 == "0x9593A9" && c3!="0x0A1314")
            {
                SendInput "{t}"
                Sleep 100
            }
        }
    }

    XButton1::{
        SendInput "{s}"
        Sleep 50
        SendInput "{s}"
    }
